package com.engine4cloud.tdf.common.core.constant.enums;

import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import lombok.Getter;

import java.io.Serializable;

/**
 * 文件桶名称（与模块对应，但是桶名字可以修改，模块名很少改动）
 */
@Getter
public enum FileBucketNameEnum implements Serializable {
    SUPERVISION("supervision", "监督管理"),
    LOCATION("location", "定位"),
    PSYCHOLOGY("psychology", "心理"),
    TERMINAL("psychology", "终端"),
    EDUCATION("education", "教育帮扶"),
    SYS("sys", "系统"),
    ;
    @Enumerated(EnumType.STRING)
    private String type;
    private String desc;

    FileBucketNameEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
